import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useMapStore = defineStore('map', () => {
  let map = ref(null)
  const setMap = (val) => {
    map.value = val
  }

  return {
    map,
    setMap
  }
})
